import type { App } from 'vue';

const pinia = createPinia();

/**
 * 安装pinea
 * @param app
 * @returns
 */
export function setupStore(app: App) {
  return app.use(pinia);
}

export default pinia;
